package com.zhaojk.audio.domain.DTO;

public class WordDefinition {
    private String lemma;         // 单词词元
    private String pos;           // 词性
    private Integer audioLevel;   // 音频等级
    private String translation;   // 翻译

    // 必须添加全参构造器
    public WordDefinition(String lemma, String pos, Integer audioLevel, String translation) {
        this.lemma = lemma;
        this.pos = pos;
        this.audioLevel = audioLevel;
        this.translation = translation;
    }

    public String getLemma() {
        return lemma;
    }

    public void setLemma(String lemma) {
        this.lemma = lemma;
    }

    public String getPos() {
        return pos;
    }

    public void setPos(String pos) {
        this.pos = pos;
    }

    public Integer getAudioLevel() {
        return audioLevel;
    }

    public void setAudioLevel(Integer audioLevel) {
        this.audioLevel = audioLevel;
    }

    public String getTranslation() {
        return translation;
    }

    public void setTranslation(String translation) {
        this.translation = translation;
    }
}
